package com.ontheroad.leanCloud.event;

import org.springframework.context.ApplicationEvent;

/**
 * Created by kedong on 2017/11/15 0015.
 */
public class AddUserToSessionEvent extends ApplicationEvent {

    private static final long serialVersionUID = 7444492681998543534L;

    private final String clientId;

    private final String objectId;

    private final Integer userId;

    private final Integer actionType;


    public AddUserToSessionEvent(Object source, String clientId, String objectId, Integer userId, Integer actionType) {
        super(source);
        this.clientId = clientId;
        this.objectId = objectId;
        this.userId = userId;
        this.actionType = actionType;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getClientId() {
        return clientId;
    }

    public String getObjectId() {
        return objectId;
    }

    public Integer getActionType() {
        return actionType;
    }

    public Integer getUserId() {
        return userId;
    }
}


